package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_bfl_bodycheck_new")
public class BhyfBflBodyInfo implements Serializable {

    private static final long serialVersionUID= -3095885183377967122L;


    /**
     * 学生ID
     */
    @TableId(value = "personid")
    @ApiModelProperty(value = "学生ID")
    private Integer personid;

    /**
     * 班级ID
     */
    @TableId(value = "classid")
    @ApiModelProperty(value = "班级ID")
    private Integer classid;

    /**
     * 年级
     */
    @TableId(value = "gradenum")
    @ApiModelProperty(value = "年级")
    private Integer gradenum;

    /**
     * 测量时间
     */
    @TableId(value = "checktime")
    @ApiModelProperty(value = "测量时间")
    private Date checktime;

    /**
     * 生日
     */
    @TableId(value = "birthday")
    @ApiModelProperty(value = "生日")
    private Date birthday;

    /**
     * 性别 1=男孩 0=女孩
     */
    @TableId(value = "gender")
    @ApiModelProperty(value = "性别")
    private Integer gender;

    /**
     * 身高
     */
    @TableId(value = "height")
    @ApiModelProperty(value = "身高")
    private Double height;

    /**
     * 体重
     */
    @TableId(value = "weight")
    @ApiModelProperty(value = "体重")
    private Double weight;

    /**
     * 月龄
     */
    @TableId(value = "monthage")
    @ApiModelProperty(value = "月龄")
    private Integer monthage;

    @ApiModelProperty(value = "月份")
    private String checkmonth;

    @ApiModelProperty(value = "体重结果")
    private String weightresult;

    @ApiModelProperty(value = "身高结果")
    private String heightresult;

    @ApiModelProperty(value = "BMI结果")
    private String bmiresult;

    @ApiModelProperty(value = "身高标准值")
    private float good_height;

    @ApiModelProperty(value = "身高-2SD值")
    private float bad_height;

    @ApiModelProperty(value = "体重标准值")
    private float good_weight;

    @ApiModelProperty(value = "体重-2SD值")
    private float bad_weight;

    @ApiModelProperty(value = "BMI标准")
    private BhyfXhbWhoBmi bmi;



    public Integer getPersonid() {
        return personid;
    }

    public void setPersonid(Integer personid) {
        this.personid = personid;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public Integer getGradenum() {
        return gradenum;
    }

    public void setGradenum(Integer gradenum) {
        this.gradenum = gradenum;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getChecktime() {
        return checktime;
    }

    public void setChecktime(Date checktime) {
        this.checktime = checktime;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday ;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) { this.weight = weight; }

    public Integer getMonthage() {
        return monthage;
    }

    public void setMonthage(Integer monthage) { this.monthage = monthage; }

    public String getWeightresult() {
        return weightresult;
    }

    public void setWeightresult(String weightresult) { this.weightresult = weightresult; }

    public String getBmiresult() {
        return bmiresult;
    }

    public void setBmiresult(String bmiresult) { this.bmiresult = bmiresult; }

    public String getHeightresult() {
        return heightresult;
    }

    public void setHeightresult(String heightresult) { this.heightresult = heightresult; }

    public String getCheckmonth() {
        return checkmonth;
    }

    public void setCheckmonth(String checkmonth) { this.checkmonth = checkmonth; }

    public Float getGood_height() {
        return good_height;
    }

    public void setGood_height(Float good_height) { this.good_height = good_height; }

    public Float getGood_weight() {
        return good_weight;
    }

    public void setGood_weight(Float good_weight) { this.good_weight = good_weight; }

    public Float getBad_weight() {
        return bad_weight;
    }

    public void setBad_weight(Float bad_weight) { this.bad_weight = bad_weight; }

    public Float getBad_height() {
        return bad_height;
    }

    public void setBad_height(Float bad_height) { this.bad_height = bad_height; }

    public BhyfXhbWhoBmi getBmi() {
        return bmi;
    }

    public void setBmi(BhyfXhbWhoBmi bmi) { this.bmi = bmi; }

    @Override
    public String toString() {
        return "BhyfBflBodyInfo{" +
                "personid=" + personid +
                ", gradenum=" + gradenum +
                "  classid=" + classid +
                ", gender=" + gender +
                ", birthday=" + birthday +
                ", checktime=" + checktime +
                ", weight=" + weight +
                ", height=" + height +
                ", monthage=" + monthage +
                ", bmiresult=" + bmiresult +
                ", weightresult=" + weightresult +
                ", heightresult=" + heightresult +
                ", checkmonth=" + checkmonth +
                ", bad_height=" + bad_height +
                ", bad_weight=" + bad_weight +
                ", good_weight=" + good_weight +
                ", good_height=" + good_height +
                ", bmi=" + bmi.toString() +
                "}";
    }
}
